﻿@model Liquidaciones.Models.Liquidacion
@{
    ViewBag.Title = "Liquidación";
}

<h1>@ViewBag.empleado.Nombre @ViewBag.empleado.Apellido</h1>
<h2>@ViewBag.liquidacion.Fecha.ToString("MMMMMM")   @ViewBag.liquidacion.Fecha.Year</h2>
<fieldset class="scheduler-border">
    <table class="table table-bordered">
            <tr>
                <th>Concepto</th>
                <th>Unidades</th>
                <th>Remunerativo</th>
                <th>No remunerativo</th>
            </tr>
            <tr>
                <td>Basico</td>
                <td>24</td>
                <td>@ViewBag.liquidacion.Bruto</td>
                <td>0</td>
            </tr>
            <tr>
                <td>Categoria</td>
                <td>@ViewBag.empleado.Categoria</td>
                <td>@ViewBag.liquidacion.Categoria</td>
                <td>0</td>
            </tr>
            <tr>
                <td>Aporte Obra Social</td>
                <td>3%</td>
                <td>0</td>
                <td>@ViewBag.liquidacion.AporteObraSocial</td>
            </tr>
            <tr>
                <td>Aporte AFJP</td>
                <td>3%</td>
                <td>0</td>
                <td>@ViewBag.liquidacion.AporteISSJP</td>
            </tr>
            <tr>
                <td>Aporte Jubilatorio</td>
                <td>11%</td>
                <td>0</td>
                <td>@ViewBag.liquidacion.AporteJubilacion</td>
            </tr>
            <tr class="warning">
                <td colspan="2">Sub Total</td>
                <td>@(ViewBag.liquidacion.Bruto + ViewBag.liquidacion.Categoria)</td>
                <td>@(ViewBag.liquidacion.AporteObraSocial + ViewBag.liquidacion.AporteISSJP + ViewBag.liquidacion.AporteJubilacion)</td>
            </tr>
            <tr class="success">
                <td colspan="3"><b>Neto</b></td>
                <td><b>@ViewBag.liquidacion.Neto</b></td>
            </tr>
    </table>
</fieldset>
